Optimal. Leaf size=49 \[ -\frac{i (a+i a \tan (c+d x))^m \, _2F_1\left (1,m;m+1;\frac{1}{2} (i \tan (c+d x)+1)\right )}{2 d m} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0250745, antiderivative size = 49, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {3481, 68} \[ -\frac{i (a+i a \tan (c+d x))^m \, _2F_1\left (1,m;m+1;\frac{1}{2} (i \tan (c+d x)+1)\right )}{2 d m} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3481
Rule 68
Rubi steps
\begin{align*} \int (a+i a \tan (c+d x))^m \, dx &=-\frac{(i a) \operatorname{Subst}\left (\int \frac{(a+x)^{-1+m}}{a-x} \, dx,x,i a \tan (c+d x)\right )}{d}\\ &=-\frac{i \, _2F_1\left (1,m;1+m;\frac{1}{2} (1+i \tan (c+d x))\right ) (a+i a \tan (c+d x))^m}{2 d m}\\ \end{align*}
Mathematica [B] time = 1.60265, size = 128, normalized size = 2.61 \[ -\frac{i 2^{m-1} \left (1+e^{2 i (c+d x)}\right ) \left (e^{i d x}\right )^m \left (\frac{e^{i (c+d x)}}{1+e^{2 i (c+d x)}}\right )^m \, _2F_1\left (1,1;m+1;-e^{2 i (c+d x)}\right ) \sec ^{-m}(c+d x) (\cos (d x)+i \sin (d x))^{-m} (a+i a \tan (c+d x))^m}{d m} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.279, size = 0, normalized size = 0. \begin{align*} \int \left ( a+ia\tan \left ( dx+c \right ) \right ) ^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\left (\frac{2 \, a e^{\left (2 i \, d x + 2 i \, c\right )}}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}\right )^{m}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (i a \tan{\left (c + d x \right )} + a\right )^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]